class NewUser < ActionMailer::Base
  def new_user(user_, password_)
    @subject    = "Fieldtrip - user created"
    @body       = {"user" => user_, "password" => password_}
    @recipients = user_.email
    @from       = "admin@fieldtrip.com"
    @sent_on    = Time.now
    @headers    = {}
  end
end
